﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masDefault.master" AutoEventWireup="true"
    CodeFile="News.aspx.cs" Inherits="News" %>

<%@ Register Src="UserControl/NewsItem.ascx" TagName="NewsItem" TagPrefix="uc1" %>
<%@ Register Assembly="CommonTagTime" Namespace="CommonTagTime.PagerControl.stylePager2" TagPrefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
  
    <h1>
        Tin tức
    </h1>
<div class="box-content2">
    <div class="newsPagingTop">
          <cc1:stylePager2 ID="pagerTop" runat="server" 
            OnPageIndexChanging="pagerTop_PageIndexChanging" 
            onpagesizechanging="pagerTop_PageSizeChanging" ShowPageSize="True" 
            ShowViewAll="True"  />

    </div>
    <asp:DataList ID="dalNews" runat="server" RepeatColumns="1" RepeatLayout="Table" CssClass="nList"
        RepeatDirection="Horizontal" OnItemDataBound="dalNews_ItemDataBound">
        <ItemTemplate>
            <asp:PlaceHolder ID="phdControlNews" runat="server"></asp:PlaceHolder>
        </ItemTemplate>
    </asp:DataList>
    <div class="newsPagingBottom">
         <cc1:stylePager2 ID="pagerBottom" runat="server" 
            OnPageIndexChanging="pagerTop_PageIndexChanging" 
            onpagesizechanging="pagerTop_PageSizeChanging" ShowPageSize="True" 
            ShowViewAll="True"  />
    </div>
    <div class="clear">
        &nbsp;</div>
   </div>
</asp:Content>
